package com.scorpio.pay.mapper;

import com.scorpio.common.dao.BaseDao;
import com.scorpio.pay.domain.PayCallbackEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PayCallbackMapper extends BaseDao<PayCallbackEntity> {

    int updateStatus(@Param("id") Long id, @Param("status") String status);

    List<PayCallbackEntity> untreatedList();

    int deleteUntreated();
}
